package com.zhixi100.testservice.service;

import com.zhixi100.testservice.entity.PersonCount;
import com.zhixi100.testservice.mapper.PersonCountMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class PersonCountService {

    @Autowired
    private PersonCountMapper personCountMapper;

    public void updatePerson(int id) {
        personCountMapper.updatePerson(id);
    }

    public PersonCount getPerson(int id) {
        return personCountMapper.getPerson(id);
    }
}
